#include "gofgame/jumpdown/SettingScene.h"
#include "gofgame/jumpdown/layer/SettingLayer.h"

using namespace gofgame::jumpdown;
using namespace gofgame::jumpdown::layer;
using namespace cocos2d;

SettingScene *SettingScene::createSettingScene(){
	SettingScene *ss = new SettingScene();
	if(!ss->init()) {
		delete ss;
		return nullptr;
	}
	ss->autorelease();
	return ss;
}

bool SettingScene::init(){
	if(!CCScene::init()) {
		return false;
	}
	SettingLayer* sl = SettingLayer::createListLayer();
	this->addChild(sl);
	return true;
}